home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_1717 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  963 b   |  35 lines

  1. on(press){
  2.    if(_root.inven._currentframe == 1)
  3.    {
  4.       if(_root.micon._currentframe == 1 && _root.range == true)
  5.       {
  6.          if(_root.even23 > 0)
  7.          {
  8.             _root.sfx.gotoAndStop(3);
  9.             _root.take = 32;
  10.             _root.taken32 = 1;
  11.             _root.next_dis1 = 2;
  12.             _root.next_txt1 = "Love Endlessly.  Sounds like a chick flick.  Who would want to see that?";
  13.          }
  14.          else
  15.          {
  16.             _root.next_dis1 = 2;
  17.             _root.next_txt1 = "And get my hand bitten off...  Are you crazy?";
  18.          }
  19.       }
  20.       if(_root.micon._currentframe == 2)
  21.       {
  22.          if(_root.even23 > 0)
  23.          {
  24.             _root.next_dis1 = 2;
  25.             _root.next_txt1 = "It\'s two movie tickets for some chick flick.";
  26.          }
  27.          else
  28.          {
  29.             _root.next_dis1 = 2;
  30.             _root.next_txt1 = "Looks like 2 movie tickets.";
  31.          }
  32.       }
  33.    }
  34. }
  35.